public class demo01 {
    public static void main(String[] args) {
        int sum=0;
        for (int i=1,j=10;i<j;i+=2,j-=2){
            sum +=i+j;
        }
        System.out.println(sum);
    }
}
